package com.lantosec.hmrp.core.mvc;

import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;

/**
 * @author 杨成宇
 * @version 1.0
 * @date 2020/1/7
 */
public abstract class BaseEntity<T> implements Serializable {
    public static final int NORMAL = 0;
    public static final int DELETED = 1;
    @TableLogic
    private int flag = NORMAL;

    public abstract T convertToVO();
}
